﻿<%@ Page Title="" Language="C#" MasterPageFile="~/App_MasterPages/layout.Master" AutoEventWireup="true" CodeBehind="Apartment.aspx.cs" Inherits="blackhouse.StareKino.Web.Apartment" %>
<%@ Register Src="~/Modules/ApartmentDetailsModule.ascx" TagName="ApartmentDetailsModule" TagPrefix="blackhouse" %>
<%@ Import Namespace="blackhouse.Translator.Web" %>
<asp:Content ID="Content1" ContentPlaceHolderID="leftContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="mainContent" runat="server">
    <asp:Panel runat="server" ID="pnlApartmentWrapper" CssClass="apartmentWrapper">
    <div id="apartmentHeader" class="topBlueHeader doubleLine">
        <div class="hgroup">
            <h1>
                <asp:Literal runat="server" ID="ltlApartmentName"></asp:Literal></h1>
            <div class="stars">
                <asp:Panel runat="server" ID="pnlStars" CssClass="starsInner">
                    <%=GetGlobalResourceObject("Apartments", "starCount")%>
                </asp:Panel>
            </div>
            <h6>
                <asp:Literal runat="server" ID="ltlActors"></asp:Literal>
            </h6>
        </div>
    </div>
    <section id="apartment">
        <asp:Panel runat="server" ID="pnlActionLinks" CssClass="brownContent apartmentActions apartmentPageActions" Visible="false">
            <div class="cleaner">clean</div>
        <asp:Literal runat="server" ID="ltlActionLinks" />
        <p class="tip">Wspólne dane obejmują takie informacje jak wyposażenie, wspólne zdjęcia.</p>
            <div class="cleaner"></div>
    </asp:Panel>
        <asp:Panel runat="server" ID="apartmentGallery" ClientIDMode="Static">
            <asp:Repeater runat="server" ID="rptApartmentGallery" OnItemDataBound="ItemDataBound_ApartmentPhotos">
                <HeaderTemplate>
                    <div id="apartmentGalleryContent">
                </HeaderTemplate>
                <ItemTemplate>
                    <asp:HyperLink runat="server" ID="lnkPhoto" />
                </ItemTemplate>
                <FooterTemplate>
                    </div>
                </FooterTemplate>
            </asp:Repeater>
            <div class="left"></div>
            <div class="right"></div>
            <asp:Panel runat="server" CssClass="linksFromGallery" ID="pnlGalleryLinks">
                <asp:HyperLink runat="server" ID="lnkToWalk3D" NavigateUrl="#">Spacer 3D</asp:HyperLink>
                <asp:HyperLink runat="server" ID="lnkToScheme" NavigateUrl="#">Schemat</asp:HyperLink>
            </asp:Panel>
        </asp:Panel>
        <div class="rightBox">
            <blackhouse:ApartmentDetailsModule runat="server" ID="detailsTable" />
            <div class="cleaner"></div>
            <asp:HyperLink runat="server" ID="bntCheckAvability" CssClass="blueButton checkAvability" Visible="false"><%=GetGlobalResourceObject("Reservation", "checkAvability")%></asp:HyperLink>
            <asp:HyperLink runat="server" ID="bntBook" CssClass="blueButton" Visible="false"><%=GetGlobalResourceObject("Reservation", "book")%></asp:HyperLink>
            <p class="shortDescription">
                <asp:Literal runat="server" ID="ltlShortCinemaDescription" />
                <a href="#cinema">
                    <%=this.GetFormattedResource("Apartments", "apartmentS1", TranslatorFormatType.AllLower) %>

                </a>
            </p>
        </div>
        <div class="cleaner"></div>
        <div class="block description" id="apartmentDescription">
            <h3><%=GetGlobalResourceObject("Apartments", "apartmentS2")%>:</h3>
            <asp:Literal runat="server" ID="ltlDescription" />

        </div><div class="block description" id="cinemaDescription">
            <a name="cinema"></a>
            <h3><%=GetGlobalResourceObject("Apartments", "apartmentS3")%>:</h3>
            <p class="actors"><b><%=GetGlobalResourceObject("Apartments", "apartmentsS4")%>: </b> <asp:Literal runat="server" ID="ltlCinemaDescriptionActors" /></p>
            <p><asp:Literal runat="server" ID="ltlCinemaDescription" /></p>

        </div>
        <asp:Repeater runat="server" ID="rptFurnitures">
            <HeaderTemplate>
                <div class="block" id="apartmentFurnitures">
                    <h3><%=GetGlobalResourceObject("Apartments", "furniture")%>:</h3>
            </HeaderTemplate>
            <ItemTemplate>
                <div class="furnitureWrapper">
                    <div class="furniture">
                        <img src="<%#Eval("IconSrc") %>" alt="<%#Eval("Furniture.Description") %>" />
                        <a title="<%#Eval("Furniture.Description") %>"><%#Eval("Furniture.Name") %></a>
                    </div>
                </div>
            </ItemTemplate>
            <FooterTemplate>
                <div class="cleaner"></div>
                </div></FooterTemplate>
        </asp:Repeater>
        <div id="bottomApartment">
        <table class="markedTable leftTable">
            <thead>
                <tr>
                    <td colspan="2"><%=GetGlobalResourceObject("Apartments", "additionalServ")%></td>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <td><%=GetGlobalResourceObject("Apartments", "servH1")%></td>
                    <td><%=GetGlobalResourceObject("Apartments", "servS1")%></td>
                </tr>
                <tr>
                    <td><%=GetGlobalResourceObject("Apartments", "servH2")%></td>
                    <td><%=GetGlobalResourceObject("Apartments", "servS2")%></td>
                </tr>
                <tr>
                    <td><%=GetGlobalResourceObject("Apartments", "servH3")%></td>
                    <td><%=GetGlobalResourceObject("Apartments", "servS3")%></td>
                </tr>
            </tbody>
        </table>
            <table class="markedTable rightTable">
            <thead>
                <tr>
                    <td colspan="2"><%=GetGlobalResourceObject("Apartments", "servH4")%></td>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <td><%=GetGlobalResourceObject("Apartments", "servH5")%></td>
                    <td><%=GetGlobalResourceObject("Apartments", "servS4")%></td>
                </tr>
                <tr>
                    <td><%=GetGlobalResourceObject("Apartments", "servH6")%></td>
                    <td><%=GetGlobalResourceObject("Apartments", "servS5")%></td>
                </tr>
                <tr>
                    <td><%=GetGlobalResourceObject("Apartments", "servH7")%></td>
                    <td><%=GetGlobalResourceObject("Apartments", "servS6")%></td>
                </tr>
            </tbody>
        </table>
            <div class="cleaner"></div>
            </div>
    </section>
        </asp:Panel>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="rightContent" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="pageEditContent" runat="server">
</asp:Content>
